<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 error_pages.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = $lang['error_pages'];
include $root_path.'page_header.php';

$template->set_filenames(array(
	'body' => $root_path.$template_path.'domains/error_pages.tpl')
);

$template->assign_vars(array(
	'U_400' => "error_pages_edit.php?dir=public_html/&file=400.shtml",
	'U_401' => "error_pages_edit.php?dir=public_html/&file=401.shtml",
	'U_403' => "error_pages_edit.php?dir=public_html/&file=403.shtml",
	'U_404' => "error_pages_edit.php?dir=public_html/&file=404.shtml",
	'U_500' => "error_pages_edit.php?dir=public_html/&file=500.shtml",
	
	'L_ERROR_400' => $lang['error_400'],
	'L_ERROR_401' => $lang['error_401'],
	'L_ERROR_403' => $lang['error_403'],
	'L_ERROR_404' => $lang['error_404'],
	'L_ERROR_500' => $lang['error_500'],
	
	'L_ERROR_400_DESC' => $lang['error_400_description'],
	'L_ERROR_401_DESC' => $lang['error_401_description'],
	'L_ERROR_403_DESC' => $lang['error_403_description'],
	'L_ERROR_404_DESC' => $lang['error_404_description'],
	'L_ERROR_500_DESC' => $lang['error_500_description'],

	
	'L_ERROR_PAGES' => $lang['error_pages'],
	'L_INTRO' => $lang['error_pages_intro'],
	)
);





//
// Woohoo! All done!
//
$template->pparse('body');




include $root_path.'page_tail.php';




?>